/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package asteroide;

import java.awt.Shape;

/**
 *
 * @author Jose Carlos Palma
 */
public class BaseVectorShape {

    private Shape shape = null;
    private boolean alive = false;
    private double x = 0.0;
    private double y = 0.0;
    private double velX = 0.0;
    private double velY = 0.0;
    private double moveAngle = 0.0;
    private double faceAngle = 0.0;

    /**
     *
     */
    public BaseVectorShape() {
    }

    /**
     * @return the shape
     */
    public Shape getShape() {
        return shape;
    }

    /**
     * @param shape the shape to set
     */
    public void setShape(Shape shape) {
        this.shape = shape;
    }

    /**
     * @return the alive
     */
    public boolean isAlive() {
        return alive;
    }

    /**
     * @param alive the alive to set
     */
    public void setAlive(boolean alive) {
        this.alive = alive;
    }

    /**
     * @return the x
     */
    public double getX() {
        return x;
    }

    /**
     * @param x the x to set
     */
    public void setX(double x) {
        this.x = x;
    }

    /**
     *
     * @param i
     */
    public void incX(double i) {
        this.x += i;
    }

    /**
     * @return the y
     */
    public double getY() {
        return y;
    }

    /**
     * @param y the y to set
     */
    public void setY(double y) {
        this.y = y;
    }

    /**
     *
     * @param i
     */
    public void incY(double i) {
        this.y += i;
    }

    /**
     * @return the velX
     */
    public double getVelX() {
        return velX;
    }

    /**
     * @param velX the velX to set
     */
    public void setVelX(double velX) {
        this.velX = velX;
    }

    /**
     *
     * @param i
     */
    public void incVelX(double i) {
        this.velX += i;
    }

    /**
     * @return the velY
     */
    public double getVelY() {
        return velY;
    }

    /**
     * @param velY the velY to set
     */
    public void setVelY(double velY) {
        this.velY = velY;
    }

    /**
     *
     * @param i
     */
    public void incVelY(double i) {
        this.velY += i;
    }

    /**
     * @return the moveAngle
     */
    public double getMoveAngle() {
        return moveAngle;
    }

    /**
     * @param moveAngle the moveAngle to set
     */
    public void setMoveAngle(double moveAngle) {
        this.moveAngle = moveAngle;
    }

    /**
     *
     * @param i
     */
    public void incMoveAngle(double i) {
        this.moveAngle += i;
    }

    /**
     * @return the faceAngle
     */
    public double getFaceAngle() {
        return faceAngle;
    }

    /**
     * @param faceAngle the faceAngle to set
     */
    public void setFaceAngle(double faceAngle) {
        this.faceAngle = faceAngle;
    }

    /**
     *
     * @param i
     */
    public void incFaceAngle(double i) {
        this.faceAngle += i;
    }
}
